cmake_minimum_required(VERSION 2.8.3)
project(unitree_legged_sdk)

include_directories(include)

link_directories(lib)

add_compile_options(-std=c++11)

set(EXTRA_LIBS -pthread libunitree_legged_sdk.so lcm)

set(CMAKE_CXX_FLAGS "-O3")

# one pc one process
add_executable(case1_1 src/case1_1.cpp)
target_link_libraries(case1_1 ${EXTRA_LIBS})

add_executable(case2_1 src/case2_1.cpp)
target_link_libraries(case2_1 ${EXTRA_LIBS})

add_executable(justgo src/justgo.cpp)
target_link_libraries(justgo ${EXTRA_LIBS})

add_executable(test src/test.cpp)
target_link_libraries(test ${EXTRA_LIBS})

add_executable(motiontest src/motiontest.cpp)
target_link_libraries(motiontest ${EXTRA_LIBS})


